package com.xdf.docmanagementsystem.service;

import com.xdf.docmanagementsystem.common.util.Example;
import com.xdf.docmanagementsystem.entity.EmergencyContactPerson;

import java.util.List;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : ZK
 * @Date : 2020-06-27 16:53:02
 */
public interface EmergencyContactPersonService {
    int insert(EmergencyContactPerson record) throws Exception;

    int insertSelective(EmergencyContactPerson record) throws Exception;

    int multiInsert(List<EmergencyContactPerson> list) throws Exception;

    int updateByPrimaryKey(EmergencyContactPerson record) throws Exception;

    int updateByPrimaryKeySelective(EmergencyContactPerson record) throws Exception;

    int update(EmergencyContactPerson record) throws Exception;

    int multiUpdate(List<EmergencyContactPerson> list) throws Exception;

    EmergencyContactPerson selectByPrimaryKey(Integer id) throws Exception;

    int deleteByPrimaryKey(Integer id) throws Exception;

    List<EmergencyContactPerson> listQuery(EmergencyContactPerson record) throws Exception;

    List<EmergencyContactPerson> selectByExample(Example example) throws Exception;

    int updateByExampleSelective(EmergencyContactPerson emergencyContactPerson, Example example) throws Exception;
}